package cn.com.lms.business.exam.persistence.entity;


import com.bnzj.core.persistence.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;
import java.sql.Timestamp;
import java.util.Objects;

@Getter
@Setter
@Entity
@Table(name = "bnz_exam_paper_question")
@Schema(description="试卷题库表")
public class PaperQuestion extends BaseEntity {

  @Schema(description = "试卷ID")
  @Column(name = "paper_id")
  private Long paperId;

  @Schema(description = "题库ID")
  @Column(name = "question_id")
  private Long questionId;

  @Schema(description = "单选题数量")
  @Column(name = "single_count")
  private Integer singleCount;

  @Schema(description = "多选题数量")
  @Column(name = "multiple_count")
  private Integer multipleCount;

  @Schema(description = "判断题数量")
  @Column(name = "judge_count")
  private Integer judgeCount;

  @Schema(description = "填空题数量")
  @Column(name = "fill_count")
  private Integer fillCount;

  @Schema(description = "问答题数量")
  @Column(name = "explain_count")
  private Integer explainCount;

  @Schema(description = "删除标识 0-未删除 1-已删除")
  @Column(name = "is_delete")
  private Boolean isDelete;

}
